
import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

import login from '@/components/login/login'

import daiban from '@/components/wodegongzuopintai/daiban'
import dengji2 from '@/components/quexiandengji/dengji2'
import ganta from '@/components/ganta/ganta'
import MainFrame from '@/components/MainFrame'
import updateUser from '@/components/wodegongzuopintai/updateUser'
import select from '@/components/select'
import information1 from '@/components/xinxi/Information1'
import information2 from '@/components/xinxi/Information2'
import Grade from '@/components/quexiandengji/Grade'
import juese from '@/components/xitonggunali/juese'
import yonghu from '@/components/xitonggunali/yonghu'
import quexian from '@/components/quexiandengji/quexian'
import xianlus from '@/components/xianlu/xianlus'
import addXianlu from '@/components/xianlu/addXianlu'
import ZhiDingAndFenPei from '@/components/xunjianrenwu/ZhiDingAndFenPei'
import Comtion from '@/components/xitonggunali/Comtion'
import Rolelimit from '@/components/xitonggunali/Rolelimit'
import zhidinghuizhi from '@/components/xunjianrenwu/zhidinghuizhi'
import quexianchaxun from '@/components/xunjianrenwu/quexianchaxun'
import XQchaxun from '@/components/xiaoque/XQchaxun'
import XQzhidingfenpei from '@/components/xiaoque/XQzhidingfenpei'
import XQzhixin from '@/components/xiaoque/XQzhixin'
import daoru from '@/components/daoru/daoru'
import zhiding from '@/components/xunjianrenwu/zhiding'
import chakan from '@/components/xunjianrenwu/chakan'
import fenpei from '@/components/xunjianrenwu/fenpei'
import chakan2 from '@/components/xunjianrenwu/chakan2'
import huizhi from '@/components/xunjianrenwu/huizhi'
Vue.use(Router)

export default new Router({
  routes: [

    {
      path: '/',
      name: 'MainFrame',
      component: MainFrame,
      children: [{
          path: '/',
          name: 'daiban',
          component: daiban
        },

        {
          path: '/XQchaxun',
          name: 'XQchaxun',
          component: XQchaxun
        },
        {
          path: '/XQzhixin',
          name: 'XQzhixin',
          component: XQzhixin
        },
        {
          path: '/XQzhidingfenpei',
          name: 'XQzhidingfenpei',
          component: XQzhidingfenpei
        },
        {
          path: '/myWork',
          name: 'daiban',
          component: daiban
        },
        {
          path: '/dengji2',
          name: 'dengji2',
          component: dengji2
        },

        {
          path: '/ganta',
          name: 'ganta',
          component: ganta
        },
        {
          path: '/updateUser',
          name: 'updateUser',
          component: updateUser
        },
        {
          path: '/select',
          name: 'select',
          component: select
        },
        {
          path: '/information1',
          name: 'information1',
          component: information1
        },
        {
          path: '/information2',
          name: 'information2',
          component: information2
        },
        {
          path: '/Grade',
          name: 'Grade',
          component: Grade
        },
        {
          path: '/juese',
          name: 'juese',
          component: juese
        },
        {
          path: '/yonghu',
          name: 'yonghu',
          component: yonghu
        },
        {
          path: '/quexian',
          name: 'quexian',
          component: quexian
        },
        {
          path: '/xianlus',
          name: 'xianlus',
          component: xianlus
        },
        {
          path: '/addXianlu',
          name: 'addXianlu',
          component: addXianlu
        },
        {
          path: '/ZhiDingAndFenPei',
          name: 'ZhiDingAndFenPei',
          component: ZhiDingAndFenPei
        },
        {
          path: '/Comtion',
          name: 'Comtion',
          component: Comtion
        },
        {
          path: '/Rolelimit',
          name: 'Rolelimit',
          component: Rolelimit
        },

        {
          path: '/zhidinghuizhi',
          name: 'zhidinghuizhi',
          component: zhidinghuizhi
        },
        {
          path: '/quexianchaxun',
          name: 'quexianchaxun',
          component: quexianchaxun
        },
        {
          path: '/XQchaxun',
          name: 'XQchaxun',
          component: XQchaxun
        },
        {
          path: '/XQzhidingfenpei',
          name: 'XQzhidingfenpei',
          component: XQzhidingfenpei
        },
        {
          path: '/zhiding',
          name: 'zhiding',
          component: zhiding
        },
        {
          path: '/chakan',
          name: 'chakan',
          component: chakan
        },
        {
          path: '/fenpei',
          name: 'fenpei',
          component: fenpei
        },
        {
          path: '/chakan2',
          name: 'chakan2',
          component: chakan2
        },
        {
          path: '/huizhi',
          name: 'huizhi',
          component: huizhi
        },
      ]
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/daoru',
      name: 'daoru',
      component: daoru
    }



  ]

})
